c34329b780c7edea402818d61a338c41e445db75,messaging/src/main/java/org/jboss/as/messaging/deployment/MessagingJndiBindingProcessor.java,MessagingJndiBindingProcessor,deploy,#DeploymentPhaseContext#,53

Before Change


        }

        // do not alias the default JMS connection factory if there is no entry defined by the messaging subsystem
        if (phaseContext.getServiceRegistry().getService(ContextNames.bindInfoFor(JBOSS_DEFAULT_JMS_CONNECTION_FACTORY_LOOKUP).getBinderServiceName()) == null) {
            return;
        }

After Change


            return;
        }

        final BindInfo defaultConnectionFactoryBindInfo = ContextNames.bindInfoFor(JBOSS_DEFAULT_JMS_CONNECTION_FACTORY_LOOKUP);
        final ServiceName serviceName = defaultConnectionFactoryBindInfo.getBinderServiceName();

        // do not alias the default JMS connection factory if there is no entry defined by the messaging subsystem
        if (phaseContext.getServiceRegistry().getService(serviceName) == null) {